import sys

from template import Pattern

if __name__ == "__main__":
    if len(sys.argv) != 2:
        print("Usage draw.py <filename>")
        exit(0)
    pt = Pattern.load_pattern_file(sys.argv[1])
    pt.draw()
